package com.cyp.userservice.service;

import com.cyp.userservice.client.CommonServiceClient;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserService {

    @Autowired
    private CommonServiceClient commonServiceClient;

    public String getHelloFromCommon() {
        return commonServiceClient.sayHello();
    }
}